package org.jsola.hr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;

import java.util.List;
import javax.validation.Valid;

/**
 * 供应商信息表
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "批量操作【供应商信息表】的参数")
@Data
public class GysInfoBatchDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;

    /**
     * 新增的供应商信息表
     */
    @ApiModelProperty(notes = "新增的供应商信息表")
    @Valid
    private List<GysInfoAddDTO> gysInfoAddDTOList;

    /**
     * 要修改的供应商信息表
     */
    @ApiModelProperty(notes = "修改的供应商信息表")
    @Valid
    private List<GysInfoUpdateDTO> gysInfoUpdateDTOList;

    /**
     * 要删除的供应商信息表id
     */
    @ApiModelProperty(notes = "删除的供应商信息表ID")
    private List<String> deleteGysInfoIdList;

}

